package com.hzw.saas.common.config.configuration.properties;

import java.util.ArrayList;
import java.util.List;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;
import lombok.Data;

/**
 * <p>
 *
 * </p>
 *
 * @author sonam
 * @since 2021/2/24 16:36
 */
@Component
@ConfigurationProperties(value = "saas.host", ignoreInvalidFields = true, ignoreUnknownFields = true)
@Data
public class SaasHostProperties {

    private String appBackendHost = "";

    private String appFrontendHost = "";

    private String adminBackendHost = "";

    private String adminFrontendHost = "";

    private List<String> ignoreAuthUrls = new ArrayList<>();

}
